/**
 * 
 */
package org.cuatrovientos.footballpoolgenerator;
import java.util.Random;//This library is the gear box of the random function

/**
 * Class that randomly generates Football Pools
 * @author Axel Brinck
 */
public class FootballPoolGenerator {
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		//Declare random as a random number
		Random random = new Random();
		
		//We cannot hold the random number as an integer directly, 
		//so we need to declare another variable to hold the random's output.
		int randomresult = 0;

		for (int i = 0; i < 15; i++){
			randomresult = random.nextInt(3); //This is going to generate another number (Range 3, 1 or 2 or 3)
			
		switch (randomresult) {
			case 0:
				System.out.println(i + 1 + ". - 1");
				break;
			case 1:
				System.out.println(i + 1 + ". - X");
				break;
			case 2:
				System.out.println(i + 1 + ". - 2");
				break;
				
			}
		}
		
	}
}
